package com.ssy.lingxi.order.model.dto;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 订单商品关联的营销活动DTO
 * @author 万宁
 * @version 2.0.0
 * @date 2021-10-28
 */
public class PromotionDTO implements Serializable {
    private static final long serialVersionUID = -1250452023817154690L;

    /**
     * （营销服务）营销活动Id
     */
    private Long promotionId;

    /**
     * 营销活动名称
     */
    private String name;

    /**
     * 营销活动类型，定义在 ActivityTypeEnum 中
     */
    private Integer promotionType;

    /**
     * 营销活动归属类型，定义在 BelongTypeEnum 中
     */
    private Integer belongType;

    /**
     * 营销活动起始时间
     */
    private LocalDateTime startTime;

    /**
     * 营销活动结束时间
     */
    private LocalDateTime expireTime;

    public Long getPromotionId() {
        return promotionId;
    }

    public void setPromotionId(Long promotionId) {
        this.promotionId = promotionId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getPromotionType() {
        return promotionType;
    }

    public void setPromotionType(Integer promotionType) {
        this.promotionType = promotionType;
    }

    public Integer getBelongType() {
        return belongType;
    }

    public void setBelongType(Integer belongType) {
        this.belongType = belongType;
    }

    public LocalDateTime getStartTime() {
        return startTime;
    }

    public void setStartTime(LocalDateTime startTime) {
        this.startTime = startTime;
    }

    public LocalDateTime getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(LocalDateTime expireTime) {
        this.expireTime = expireTime;
    }


}
